package com.ruoyi.system.domain.request.alarmtype;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 描述
 * 作者 ZhangPing
 * 创建时间 2023/9/14 16:15
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class AlarmTypeExistParam {
    @ApiModelProperty("id（编辑时需要传）")
    private Long id;
    @ApiModelProperty("告警名称")
    @NotEmpty
    private String name;
    @ApiModelProperty("告警类型")
    @NotNull
    private Integer type;
}
